﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Fatec.ControleEstoque.Attributes.Templates
{

    [AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
    public class ShowColumnsAttribute : Attribute
    {
        public ShowColumnsAttribute(params String[] displayColumns)
        {
            DisplayColumns = displayColumns;
        }

        public String[] DisplayColumns { get; set; }
        public Boolean EnableDelete { get; set; }
        public Boolean EnableInsert { get; set; }
        public Boolean EnableUpdate { get; set; }
    }
}
